<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
    <body>
    <script type="text/javascript">
    	var paper ;
    	var part ;
    	var questions ;
    	var answers ;
    	<s:iterator value="initMap.papers" id="s">
			<s:if test="atype=='paper'">
					paper = 
			</s:if>
    	</s:iterator>
			var allInfo = "${initMap.papers}";
			allInfo ='({data:'+allInfo+'})';
			allInfo = eval(allInfo);
			alert(allInfo);
			$.each(allInfo.data,function(i,domEle){
				var assert =  domEle ;
				if(assert.atype=='paper'){
						paper = assert;
					}
				if(assert.atype=='part'){
					part[assert.seq]=assert;
					}
				if(assert.atype=='ques'){
					questions[assert.rid,assert.seq] = assert;
					}
				if(assert.atype=='answer'){
					answer[assert.rid,assert.seq] = assert;
					}
			});
			alert(paper);
			alert(part);
			alert(questions);
			alert(answers);
    	
    </script>
    <div id="mainContent">
    	<div id="baseInfo">
    		<div class="MGTop" id="condition">
     	 	<div class="module">
     	 	<h2>病情评估
     	 	</h2>
     	 	<br />
     	 	<br />
     	 	<br />
     	 	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-family: ''cb'ce'cc'e5'; color: rgb(0, 0, 0); font-size: 15px;">请选择病情评估表类型:</span>
     	 	&nbsp;&nbsp;&nbsp;&nbsp;<select id ="paperId" name="paperName">
     	 		<s:iterator value="initMap.papers" id="index">
     	 			<option value='<s:property value="assertId"/>'><s:property value="varName"></s:property></option>
     	 		</s:iterator>
     	 	</select>
     	 	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input id="queding_ss" type="button" value="确定" /> 
     	 	 	<br />
     	 	 		<br />
     	 	 			<br />
     	 	<br />
     	 	&nbsp;&nbsp;&nbsp;&nbsp;<b>录入须知：</b>
     	 		<br />
     	 	&nbsp;&nbsp;&nbsp;&nbsp;<span>1. 录入后信息不允许修改，只能新增</span>
     	 	<br />
     	 	&nbsp;&nbsp;&nbsp;&nbsp;<span>2. 录入时需要填写进行检查或评估的时间</span>
     	 	</div>
     	
     	 	</div>
    	 </div>
    </div>
    </body>
